package com.funmi.lizip.entity.vo;

import com.baomidou.mybatisplus.annotation.*;
import io.swagger.annotations.ApiModel;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.io.Serializable;
import java.time.LocalDateTime;

/**
 * <p>
 *
 * </p>
 *
 * @author yeyg
 * @since 2022-11-03
 */
@Data
@EqualsAndHashCode(callSuper = false)
@ApiModel("通勤统计详情返回对象")
public class PatrolTrackStatisticsVo implements Serializable {

    @TableField(exist = false)
    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    /**
     * 设备编号
     */
    private String equipmentNumber;

    /**
     * 护林员id
     */
    private String rangerId;

    /**
     * 巡护时间
     */
    private LocalDateTime patrolDate;

    /**
     * 轨迹json:['creteTime','location']
     */
    private String trackMsg;

    /**
     * 是否删除
     */
    @TableField(value = "is_delete",select = false)
    @TableLogic
    private Boolean delete;

    /**
     * 巡护任务Id
     */
    private String patrolId;

    private LocalDateTime createAt;


}
